package com.log.template;

/**
 * @author ZGame 日志类型
 */
public enum LogCollectionType {
    /**
     * 日期
     */
    Day("d", 7),
    /**
     * 周
     */
    WEEK("w", 4),
    /**
     * 月
     */
    Month("m", 3),
    /**
     * 单例
     */
    Single();
    
    private String type;
    
    private int remain;
    
    private LogCollectionType() {
    }
    
    private LogCollectionType(String type, int remain) {
        this.type = type;
        this.remain = remain;
    }
    
    public String getType() {
        return type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
    
    public int getRemain() {
        return remain;
    }
    
    public void setRemain(int remain) {
        this.remain = remain;
    }
    
}
